Conversation
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
|
|
||
| # Get current settings | ||
| try: | ||
| settings = remote.Settings.get(project=project, domain=domain) |
There was a problem hiding this comment.
this should be a get 'for edit', right? also probably we want the get for edit raw version - because this is what gives the unstructured map with the flattened keys.
There was a problem hiding this comment.
@afbrock actually no, i want to get the entire heirarchy and then consolidate, show it to the user what was derived from where and then update. Maybe i dont understand the api. Why have 2 apis getforedit vs get
There was a problem hiding this comment.
get for edit returns all levels in a structure, and the current version for optimistic locking. get for edit raw gives the version and all levels in a flattened map. update /update raw corresponds to the two for edit calls. the simple get call just gets effective values for consumers rather than editors.
No description provided.